package com.eamois.service.sys.impl;

import java.util.Collection;

import com.eamois.dao.sys.InstrumentTypeDao;
import com.eamois.domain.sys.EquipmentType;
import com.eamois.domain.sys.InstrumentType;
import com.eamois.service.impl.BaseServiceImpl;
import com.eamois.service.sys.InstrumentTypeService;

public class InstrumentTypeServiceImpl extends BaseServiceImpl<InstrumentType,InstrumentTypeDao> implements InstrumentTypeService{

	@Override
	public Collection<InstrumentType> findRootInstrumentType() {
		// TODO Auto-generated method stub
		return this.getDao().findRootInstrumentType();
	}

	@Override
	public Collection<InstrumentType> findChildInstrumentType(
			InstrumentType instrumentType) {
		// TODO Auto-generated method stub
		return this.getDao().findChildInstrumentType(instrumentType);
	}

	@Override
	public InstrumentType findTypeByName(String name) {
		// TODO Auto-generated method stub
		return this.getDao().findTypeByName(name);
	}

}
